home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-09-29 | 569 b | 34 lines | [TEXT/KAHL] |
- #include <Retrace.h>
- #include <Devices.h>
- #include <SegLoad.h>
- #include <Timer.h>
-
- #include <math.h>
- #include <iostream.h>
-
- #include "C_randomizer.h"
- #include "flowsettings.h"
- #include "vretrace.h"
- #include "phaser.h"
- #include "dotcollection.h"
-
- dotcollection::dotcollection( int aantaldots)
- {
- numdots = aantaldots;
-
- xcoords = new short[ numdots];
- ycoords = new short[ numdots];
-
- for( int i = 0; i < numdots; i++)
- {
- xcoords[ i] = randomizer_step();
- ycoords[ i] = randomizer_step();
- }
- }
-
- dotcollection::~dotcollection()
- {
- delete xcoords;
- delete ycoords;
- }
-